package com.ytsky.hctechnologysys.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.sql.Timestamp;

/**
 * @author Dell
 */
@Data
public class Institution {

    private int iId;

    @NotBlank(message = "奖惩名称不能为空")
    @Size(max = 20, message = "奖惩，名称长度不能超过20字")
    private String iName;

    @NotBlank(message = "奖惩原因不能为空")
    @Size(max = 50, message = "奖惩原因长度不能超过50字")
    private String iReason;

    @NotBlank(message = "奖惩说明不能为空")
    @Size(max = 50, message = "奖惩说明长度不能超过50字")
    private String iExplain;


    private Timestamp iBuildTime;


}
